<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/YLPublicService.TransferModel" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/YLPublicService.TransferModel" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:2500/UserService.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://localhost:2500/UserService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="ArrayOfTemplate">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Template" nillable="true" type="tns:Template" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTemplate" nillable="true" type="tns:ArrayOfTemplate" />
  <xs:complexType name="Template">
    <xs:sequence>
      <xs:element minOccurs="0" name="mName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="mPrice" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="mRequireAttchments" nillable="true" type="tns:Template.RequireAttchments" />
      <xs:element minOccurs="0" name="mRequireValues" nillable="true" type="tns:Template.RequireValues" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Template" nillable="true" type="tns:Template" />
  <xs:complexType name="Template.RequireAttchments">
    <xs:sequence>
      <xs:element minOccurs="0" name="mItem" nillable="true" type="tns:ArrayOfTemplate.RequireAttchments.Item" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Template.RequireAttchments" nillable="true" type="tns:Template.RequireAttchments" />
  <xs:complexType name="ArrayOfTemplate.RequireAttchments.Item">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Template.RequireAttchments.Item" nillable="true" type="tns:Template.RequireAttchments.Item" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTemplate.RequireAttchments.Item" nillable="true" type="tns:ArrayOfTemplate.RequireAttchments.Item" />
  <xs:complexType name="Template.RequireAttchments.Item">
    <xs:sequence>
      <xs:element minOccurs="0" name="mDataType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="mMemo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="mName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Template.RequireAttchments.Item" nillable="true" type="tns:Template.RequireAttchments.Item" />
  <xs:complexType name="Template.RequireValues">
    <xs:sequence>
      <xs:element minOccurs="0" name="mItem" nillable="true" type="tns:ArrayOfTemplate.RequireValues.Item" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Template.RequireValues" nillable="true" type="tns:Template.RequireValues" />
  <xs:complexType name="ArrayOfTemplate.RequireValues.Item">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Template.RequireValues.Item" nillable="true" type="tns:Template.RequireValues.Item" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTemplate.RequireValues.Item" nillable="true" type="tns:ArrayOfTemplate.RequireValues.Item" />
  <xs:complexType name="Template.RequireValues.Item">
    <xs:sequence>
      <xs:element minOccurs="0" name="mDataType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="mMemo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="mName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Template.RequireValues.Item" nillable="true" type="tns:Template.RequireValues.Item" />
  <xs:complexType name="FtpServerInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="ClientDir" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ClientLoginName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ClientPassWord" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="IPV4" nillable="true" type="q1:ArrayOfint" />
      <xs:element minOccurs="0" name="Port" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FtpServerInfo" nillable="true" type="tns:FtpServerInfo" />
  <xs:complexType name="UserAccount">
    <xs:sequence>
      <xs:element minOccurs="0" name="Money" type="xs:decimal" />
      <xs:element minOccurs="0" name="UserID" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UserAccount" nillable="true" type="tns:UserAccount" />
  <xs:complexType name="ArrayOfWorkItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="WorkItem" nillable="true" type="tns:WorkItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfWorkItem" nillable="true" type="tns:ArrayOfWorkItem" />
  <xs:complexType name="WorkItem">
    <xs:sequence>
      <xs:element minOccurs="0" name="DBTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TemplateName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Time" type="xs:dateTime" />
      <xs:element minOccurs="0" name="boyName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="grilName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="WorkItem" nillable="true" type="tns:WorkItem" />
  <xs:simpleType name="WorkItemStatus">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="WaitingProcess" />
          <xs:enumeration value="Processing" />
          <xs:enumeration value="ProcessFinish">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Downloaded">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Uploading">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Downloading">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="WorkItemStatus" nillable="true" type="tns:WorkItemStatus" />
</xs:schema>